#!/usr/bin/python

import urllib
import re

import os, sys


URL = 'http://www.toutiao.com/a6360894562425028865/'

def getProjectName(path):
	print os.listdir(path)
	return [ i for i in os.listdir(path) if os.path.isdir(path + "/" + i) ]


if __name__ == "__main__":
    #html = urllib.urlopen(URL)
    #doc = html.read()
    #pat = re.compile(r'<img src=\"(http://.*?)\".*?>')
    #url_list = pat.search(doc)
    #print url_list.groups()

    print getProjectName("E:/MyCode/LearnPython/pyqt/templet/data")

